fluent interface造句
例句與造句
- Builders are good candidates for a fluent interface.
- In fluent interfaces this often means that setters return " this " instead of nothing.
- JFugue 5.0 makes extensive use of fluent interfaces, also known as method chaining, which lets developers write short, expressive pieces of code like the following:
- Due to its fluent interface, user can create a query without the need to assign the instance to a variable and continuously reference it in order to add attributes and filters.
- Another key feature of Doctrine is the ability to optionally write database queries in an OO ( HQL . Alternately, the QueryBuilder class ( Doctrine _ Query in Doctrine 1 . x ) allows one to construct queries through a fluent interface.
- It's difficult to find fluent interface in a sentence. 用fluent interface造句挺難的
- Cascading is a key technique in fluent interfaces, and since chaining is widely implemented in object-oriented languages while cascading isn't, this form of " cascading-by-chaining by returning this " is often referred to simply as " chaining ".
- The "'cout "'object is of type "'ostream "', which operator to make it perform an operation completely unrelated to bitwise operations, and notably evaluate to the value of the left argument, allowing multiple operations on the same ostream object, essentially as a different syntax for method cascading, exposing a fluent interface.